// 每日美文展示页面样式

.pageTitle {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
}

.todayCard {
  margin-bottom: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;

  :global(.ant-card-body) {
    padding: 24px;
  }
}

.todayArticleContent {
  .todaySubTitle {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    font-weight: normal;
    margin-top: 8px;
  }

  .todayArticleTitle {
    margin-top: 16px;
    cursor: pointer;
    color: #1890ff;
    
    &:hover {
      text-decoration: underline;
    }
  }

  .todayArticleMeta {
    margin: 12px 0;
    color: rgba(0, 0, 0, 0.45);
  }

  .todayArticleSummary {
    margin: 16px 0;
    font-size: 16px;
    line-height: 1.8;
  }

  .todayArticleTags {
    margin: 16px 0;
  }

  .todayArticleStats {
    margin-top: 24px;
  }
}

.todayArticleImage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  
  .coverImage {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
    
    &:hover {
      transform: scale(1.03);
    }
  }
}

.noTodayArticle {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.45);
  font-size: 16px;
  background: #f5f5f5;
  border-radius: 4px;
}

.articleSection {
  margin-top: 24px;
  
  .sectionTitle {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    
    :global(.anticon) {
      margin-right: 12px;
    }
  }
}

.articleCard {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
  border-radius: 8px;
  overflow: hidden;
  
  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.09);
  }

  .cardCover {
    height: 160px;
    overflow: hidden;
    
    .coverImg {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
      
      &:hover {
        transform: scale(1.05);
      }
    }
  }
  
  .cardContent {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .articleDifficulty {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 12px;
  }
  
  .articleTitle {
    margin-top: 8px;
    font-size: 18px;
    cursor: pointer;
    
    &:hover {
      color: #1890ff;
    }
  }
  
  .articleMeta {
    margin: 8px 0;
    color: rgba(0, 0, 0, 0.45);
    font-size: 13px;
  }
  
  .articleSummary {
    color: rgba(0, 0, 0, 0.45);
    margin: 12px 0;
    flex: 1;
  }
  
  .articleFooter {
    margin-top: auto;
    color: rgba(0, 0, 0, 0.45);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    
    .articleTags {
      margin-top: 8px;
    }
  }
}

.pagination {
  margin-top: 40px;
  text-align: center;
} 